import {createRouter, createWebHistory} from 'vue-router'
import echartsView from '@/views/echartsView.vue'
import fileView from '@/views/file.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'file',
      component: fileView
    },
    {
      path: '/file',
      name: 'echarts',
      component: echartsView
    },

  ]
})

export default router
